package com.pshcp.patient.business;

import com.pshcp.common.enums.RegPayStatusEnum;
import com.pshcp.domain.model.PatientMedicalRecordsPrintApply;
import com.pshcp.service.PatientMedicalRecordsPrintApplyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PatientMedicalPrintBusiness {

    @Autowired
    private PatientMedicalRecordsPrintApplyService printApplyService;

    public void enterOrder(PatientMedicalRecordsPrintApply printApply) {

        printApply.setPayStatus(RegPayStatusEnum.PAY_OK.getCode());
        printApplyService.update(printApply);

    }

}
